package com.cke.yang.security.domain.entity;

import com.cke.yang.common.domain.model.ActionModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 安全模块_用户关联角色
 * </p>
 *
 * @author yuyang
 * @since 2025-09-30
 */
@TableName("sec_user_relation_role")
@Getter
@Setter
public class SecUserRelationRole extends ActionModel<SecUserRelationRole> {

    private static final long serialVersionUID = 1L;

	/**
	 * PK
	 */
	@TableId(type = IdType.AUTO, value="user_role_id")
	private Long userRoleId;

	/**
	 * 用户id
	 */
	@TableField(value="user_id")
	private Long userId;

	/**
	 * 角色id
	 */
	@TableField(value="role_id")
	private Long roleId;

}
